dharper79
Member
Posted 3 months ago #
I would like to know what is the best way to change the url of a page. I would like my contact page to read http://www.domainname.com/contact. Instead, it currently reads: http://www.domainname.com/?page_id=43
I went to the Permalink settings and I am not able to edit it.
Thanks.
dharper79
Member
Posted 3 months ago #
Thanks.... But how does this work for static pages?
did you already try adding the desired permalink directly in the page editor?
Hi!
Try:
Settings >> Permalink Settings >> Custom Structure
Paste something like:
/%post_id%/%postname%/
Or,
/%post_id%/%postname%.html
as desired..
dharper79
Member
Posted 3 months ago #
@Shekhar I Tried that but it didn't work.
@deepbevel How do I do that?
kmessinger
Member
Posted 3 months ago #
I went to the Permalink settings and I am not able to edit it.
Is this accurate?
Yes, the permalink structure you choose works for static Word Press Pages. Something like this for example /%year%/%monthnum%/%day%/%postname%/, would give the date and post name. Since a Page does not have a date, only the Page name will show.
[edit] But you may have to make changes to the .htaccess. See the link posted in prior replies.
@Shekhar Sorry, I'm confused, I thought you wanted a specific permalink for the page,
But how does this work for static pages?
In which case you could simply specify it in the field above the title.