Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12404
Latest: azaratir
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39931
Total Topics: 7030
Most Online Today: 119
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 81
Total: 81

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

+- Recent Topics

Responsive Layout by SMFHacks
Today at 03:32:39 pm

German Translation missing in SMF 2.1R1 by SMFHacks
Today at 02:38:42 pm

Unread items issue by SMFHacks
Today at 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Change colors of Halloween theme by SMFHacks
October 24, 2019, 11:44:59 am

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Powered by EzPortal