SMFHacks.com

SMFHacks.com => Site Discussion => Topic started by: mjindustry on June 19, 2012, 01:23:52 am

Title: pretty urls and 301 redirect non www to www
Post by: mjindustry on June 19, 2012, 01:23:52 am
Hi there, I don't know how a guy could really want a forum without pretty url's o something similar.

I would like to have the non www redirect to www 301 along with it though and there seems to be some kind of conflict with it and pretty url's.

Not sure about this actually, but I'm here checking to see if anyone has had a similar issue.

When I add my 301 redirect to .htaccess it won't allow login to work on the site. The only other thing even in the .htacees is pretty url stuff.

So, yea. just sayin'. I would choose pretty url over the 301 redirect but I hate not having the 301 non to www redirect on my site.
Title: Re: pretty urls and 301 redirect non www to www
Post by: SMFHacks on June 19, 2012, 08:08:32 am
I would have the statement that you added to the top of the file before any other rules and make sure you use the L to make sure it is the last property used.
Title: Re: pretty urls and 301 redirect non www to www
Post by: mjindustry on June 21, 2012, 08:16:38 am
Tried everything. I have tried adding in cpanel with wildcard. I've tried all the different slight variations of methods to add this to the .htaccess

Same result everytime. The forum is all good, just cannot login. cookies cleared, any browser same result.

Do you guys have anything similar to pretty urls that I could try?