I need a help from htaccess expertise
Need to change url to make it user friendly Here is my url of site for example
http://www.example.com/the-collection/#the-colection1/
Here is my wordpress page http://www.example.com/the-collection
For this page am using 'shortcode' of plugin that automatic add this collection1 with # tag
Here is also pagination come with this plugin then url seems link this
http://www.example.com/the-collection/#the-colection1/page1
What I need I want to make my url like
http://www.example.com/the-collection/page1
I want to remove that #collection1 (only want to remove not replace with any other text because that i can do from backend easily)
Related
I have this plugin it displays like this in front end
Sitename.com/?page=pluginname
I tried to rewrite this using .htaccess but it didn't work
What I want is change the name of the plugin in the URL to custom name
is that possible?
let me know
I added a page in wordpress. Wordpress created a url like
https://mywebsite.com/page-title
but I want to change this url like https://mywebsite.com/se/page-title
My Permalink Settings shows https://mywebsite.com/sample-post/
and website is already indexed on google so I can't change my paramlink setting.
I also tried with htaccess and also from wordpress add_rewrite_rule() but no result is coming.
Any help how can I do this?
The simplest way to make your page url like www.example.com/se/se1 instead of www.example.com/se1 is to create page se and se1 make as child page of se.
With this option you'll saved your wordpress website permalink structure, you'll in not need to change your other pages redirects for google indexing
I have a website where there are profiles. I have changed the .htaccess so it give me a nice URL back, for example.
SEO unfriendly URL:
www.domain.com/index.php?page_id=216&acctype=trainer&stname=name
of trainer (with - instead of spaces).
Now I managed to get it like the following:
www.domain.com/profiel/trainer/name-of-trainer
My .htaccess looks like this:
RewriteRule ^profiel/([^/]*)/([^/]*)$ index.php?page_id=216&acctype=$1&stname=$2 [L]
All I get is that the page is not found.
I have a page in WordPress (profiel) and have a template linked to that page, could it be that the acctype (type of account), is making it that the template is not being found?
Hope that the explanation is clear, if not, please ask.
Hope some one can help.
I have setup the permalinks correctly, because the url is showing, it only doesn't show the correct template, it should show more detailed info about that specific user.
I am wondering what is going wrong, have no clue at this tried.
The wordpress post and page urls are stored into database too.
When you change your url rewrite on .htaccess that changes base redirection only. You need to change permalink on Settings > Permalink Settings > Select your url pattern By using this the wordpress automatically change .htaccess and all post url and page url on database to.
I don't think you need to change in your .htaccess file to make the URL SEO friendly. Just login the admin panel
Settings > Permalink Settings > Select Post Name from the given options
Using this way you can make URL SEO friendly in WordPress.
How do I remove ?title= in Main Website url in Wordpress
Sample URL:
http://mydomain.com/propertiesdetail?title=this-is-title
Please Help. Thank you.
As far as I can understand you want to have 'nice' URLs.
Wordpress has built-in SEO and user-friendly URL rewrite implementation. All you have to do is check your Permalinks settings in Administration area->Settings.
Select to use not the Default, but Post name (or anything else, you can see all the options). This way all website URLs will be 'beautified' automatically, because Wordpress will rewrite the .htaccess file with the correct code.
I need to change the customized URl of wordpress, where I pass the id in querystring to get data from my custom table. Now i want to see the title instead of that id.
Ex. My site link id http://xyz.com/?page_id=1&pid=12
Now if i try the wordpress permalink it will convert the wp page only like http://xyz.com/test?pid=12
What can i do to make the URl like http://xyz.com/test/title. Where title is stored in database for pid=12.
Yes this is possible and actually pretty easy. Go to /wp-admin/options-permalink.php and look for the custom option that you want. You must have access to the server to update the .htaccess file. Here is more info.
if you want the name of your page to appear as in:
http://www.xyz.com/about/
instead of something like:
http://www.xyz.com/?page_id=398
login to your back end of wordpress
under the settings menu(on left side) click permalinks
click custom structure and in the text field type in:
/%postname%/