• I have a dreaded permalink problem, and while I suspect there may be no solution, I can hopefully summarise the problem rather quickly.

    I run a travel blog and I find it difficult to categorise my posts. For example, my Category structure for a particular post would be like this:

    Destinations –> Australia –> Sydney

    If I leave just “Sydney” ticked in the categories box of the post, the URL shows up nicely in my Permalink structure as /destinations/australia/sydney/%postname%. However, if someone wants to see all the places I went to in Australia, and typed in /destinations/australia/ – they would get a 404 error!

    Alternatively, if I tick “Destinations”, “Australia” and “Sydney” for the post, my permalink URL will for some reason only show as /destinations/%postname%. However, going to /destinations/australia/ will now show all my Australian posts.

    Is there a way for me to sort out my Permalink structure for each place I visit (Country/Place/Postname) AND somehow keep the ‘filing system’ intact? Ideally I’d want a list of “Countries I’ve visited” links on the sidebar where each link shows all the places I’ve been in each country – but I do not know how this is technically possible.

    Thanks – fingers crossed I’ve been clear!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jorosar

    (@jorosar)

    Anybody? 😛

    Hi,

    Reset your permalink from wordpress admin area and add this code in htaccess of your blog:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Now, check with your blog posts.

    Thanks,

    Shane G.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Travel Blog Permalink Problem’ is closed to new replies.