Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12356
Latest: Hermankidd
New This Month: 7
New This Week: 3
New Today: 1
Stats
Total Posts: 39780
Total Topics: 7006
Most Online Today: 112
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 82
Total: 82

Author Topic: pretty urls and 301 redirect non www to www  (Read 6695 times)

0 Members and 1 Guest are viewing this topic.

Offline mjindustry

  • Newbie
  • *
  • Posts: 4
    • View Profile
pretty urls and 301 redirect non www to www
« 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.
Creative Creative x 1 View List

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14904
    • View Profile
Re: pretty urls and 301 redirect non www to www
« Reply #1 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Love Love x 1 View List

Offline mjindustry

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: pretty urls and 301 redirect non www to www
« Reply #2 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?
Agree Agree x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2361 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3479 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3651 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
5166 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
5 Replies
3329 Views
Last post January 24, 2015, 03:14:00 pm
by SMFHacks

+- Recent Topics

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

Powered by EzPortal