Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12298
Latest: kancelariaszuster
New This Month: 8
New This Week: 0
New Today: 0
Stats
Total Posts: 39607
Total Topics: 6977
Most Online Today: 97
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

Author Topic: pretty urls and 301 redirect non www to www  (Read 6499 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: 14832
    • 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
2238 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3304 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3455 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
4918 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
5 Replies
3232 Views
Last post January 24, 2015, 03:14:00 pm
by SMFHacks

+- Recent Topics

[Mod] SEO Microdata Breadcrumbs by SMFHacks
March 22, 2019, 11:56:00 pm

Resizing by SMFHacks
March 22, 2019, 07:57:53 am

[Mod]Global Message Box by SMFHacks
March 19, 2019, 03:10:39 pm

condition de livraison by alain54100
March 17, 2019, 02:54:02 am

Redesign Work for SMF Store by alain54100
March 17, 2019, 02:50:32 am

Bulk upload image problem by alantani
March 14, 2019, 12:54:45 pm

German Translation missing in SMF 2.1R1 by SMFHacks
March 13, 2019, 07:08:19 pm

Gallery bug in 2.1 by SMFHacks
March 13, 2019, 08:32:32 am

Errors unstalling v7.2.1 by Ken.
March 11, 2019, 08:31:47 am

Pretty URLs and 2.1 by SMFHacks
March 07, 2019, 11:23:09 pm

Powered by EzPortal