Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 84
Total: 84

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

0 Members and 1 Guest are viewing this topic.

Offline mjindustry

  • Member
  • *
  • 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: 16451
    • 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

  • Member
  • *
  • 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
4391 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
6427 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
6115 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
8992 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
5 Replies
5222 Views
Last post January 24, 2015, 03:14:00 pm
by SMFHacks

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

Powered by EzPortal