Page 1 of 1

WordPress URLs

Posted: Tue Apr 16, 2013 12:59 pm
by fform
I have a WordPress install that keeps redirecting to the placeholder page. For instance, if I try to go to: http://sinfulsalt.com/sample-page/ it immediately redirects to http://sinfulsalt.com/ I'm thinking this may have to do with the .htaccess file? Please help.

Best regards,

Wyeth Stiles

Re: WordPress URLs

Posted: Tue Apr 16, 2013 6:19 pm
by joemuller
Wyeth,

I took a quick look over your .htaccess file - it's performing the default action for Wordpress installs, which is to redirect any invalid links back to the index page.

It looks like there's a separate .htaccess file at the base directory for your site *and* in the wordpress directory. You can probably tweak the base .htaccess file to go to a location other than your wordpress blog. I recommend reading up on the basics of mod_rewrite over at:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

Hope this helps!

-- Joe