Forums

Cahning permalinks once site is active (21 posts)

  1. superb09
    Member
    Posted 1 year ago #

    Hi I'm using 3.0.2

    I did not ask my client about permalinks, so I'built their site with the default ?page_id=14

    Now....

    they need it to be the name of the page

    ie:

    http://www.somesite.org/events

    I tried using Dean's Permalinks Migration 1.0, but it does not seem to work.

    I put the default into Dean's Permalinks Migration 1.0 and then go and change to custom /events but i just get 404 error pages

    any one help me???

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    Did you just try changing the permalinks structure in settings->permalinks? With no plugin?

  3. superb09
    Member
    Posted 1 year ago #

    i did at first and i still got 404's

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    what did you change the permalinks to? Just gotta make sure you have a valid structure. WP should handle redirects just fine, with no plugins needed

  5. superb09
    Member
    Posted 1 year ago #

    This is probably embarrassingly wrong

    /blog

    then it took each word of the page name and placed it after the / but I would get a 404 page

    : )

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    yup! that's not going to do it at all!

    http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

    read up on your options.... or just choose one of the pre-made custom options available.

    When setting custom permalinks, the settings affect the permalinks to your posts. As far as I know, any custom structure will result in your pages getting simply site.com/page-name

    Once you have custom permalinks in place, you can also edit the permalink to each page from the page editor. By default, if your page is name 'I really really really love long titles' the link would be:
    domain.com/i-really-really-really-love-long-titles

    but within the page editor, you can adjust the slugs, for example domain.com/long-titles

  7. superb09
    Member
    Posted 1 year ago #

    Hi-

    I know, I have read that over and over. using mysiteurl.com/page-name I still get an error. And even if I use any of the common ones within the admin panel, i get an 404 message also

    I'm not getting any changes

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    is your .htaccess file being written to properly? (and, are you on a linux server, with mod_rewrite enabled?)

  9. superb09
    Member
    Posted 1 year ago #

    i am on a linux server, with mod_rewrite enabled, just checked with hosting company

  10. superb09
    Member
    Posted 1 year ago #

    i can't "see" files

  11. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    OK then, first off, do you have all permalink or redirection plugins turned off?

    Once the plugins are off, set your permalinks to default. Make sure your site works properly. Click around, make sure you can get to pages, etc.

    After that, just pick one of the custom predefined permalinks options and test your site again.

    If it works, good. If not, check your .htaccess file to make sure it has been written to properly by WP. You would use a file manager if your host has one, or ftp to look at your .htaccess file

  12. superb09
    Member
    Posted 1 year ago #

    okay so I got that working, pages are all good, BUT now the posts aren't linking up, they come up as /page-name

  13. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    posts aren't linking up with what? How?

  14. superb09
    Member
    Posted 1 year ago #

    if you go here an click on one of the entries under lastest news

    http://www.bostonpride.org/

  15. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    Your site isn't loading well at all! I see major issues here.

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bostonpride.org%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.1

    you can see your output code at that link

    on line 1, you declare html5 doctype

    then you have some script and css, not even in your <head> section

    then on line 53, you declare an xhtml doctype. That <head> section starts on line 55

    Did you add all that extra code? Which doctype do you want?

    Your css is not loading for me, which usually points to a wrong path. What do you have in general settings? I keep seeing 'http://www.bostonpride2.dreamhosters.com in your links, why that instead of just http://www.bostonpride.org? Something is messed up, could be your path settings, could be the multiple doctype declarations....

    As for your permalinks, where does the latest news draw from? Is it a widget or something? Which permalink structure did you choose?

  16. superb09
    Member
    Posted 1 year ago #

    The lastest news pulls from the blog, yes it is a widget.

    dreamhosters2 is the where the site lives. bostonpride.org points to that server

  17. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    Did you change anything in your code just now? Your site is loading fine for me now. If you did, good job, if not, you have some issues to look into!

    I'm looking into the permalink thing now.....

    Are you using a custom permlink structure you defined, or just one of the predefined?

  18. superb09
    Member
    Posted 1 year ago #

    i used a custom structure

    /page-name

    you must of view the site as I was changing things.

  19. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    OK, /page-name is not a valid permalink structure.

    Ya gotta either pick a predefined structure, or read that instruction link again....

    your format has to look like

    /%option%/

    or

    /%option%/%another-option%/

    where option and another-option in my example are structure tags
    http://codex.wordpress.org/Using_Permalinks#Structure_Tags

    you need to have the percent signs, and the trailing slash at the end

    something like

    /%post_id%/%postname%/

    is a good one, as are all the availabale predefined options..... once you use a valid format, all is well!

  20. superb09
    Member
    Posted 1 year ago #

    and yes finally.... all is well. : )

    thank you so much !!! seriously, i really appreciate the help.

  21. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    No problem! Glad we could stumble through it!

    I do suggest working through your code issues at some point, the multiple doctypes, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags