Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 126
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 113
Total: 113

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

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

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

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal