Keyword

new server, k2 sef not working

More
13 years 7 months ago #93822 by Olivier Karfis
Replied by Olivier Karfis on topic new server, k2 sef not working
Do this on the server that you have a problem with:

 

1. Create a valid html page, call it testredirect.html and upload it to the root of your Joomla install

2. in your .htaccess file (backup first), type the following at the bottom of the file:

 

Redirect 301 /test123.html http://www.[yourdomainname]/testredirect.html

 

3. Save

4. In your browser, enter: 
http://www.[yourdomainname]/test123.html and see if you get redirected to 

http://www.[yourdomainname]/testredirect.html

 

If that works, at least we know that your mod_rewrite works in that directory (and you can delete the file + changes)

 

When I was asking for the url, I meant on the home page of the local site that works, hover over a link and copy the URL then on the same live site that you have problems with, do the same thing.  Are these URLs exactly the same?

 

--Olivier

Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com

Please Log in or Create an account to join the conversation.

  • michael neese
  • michael neese's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 7 months ago #93823 by michael neese
Replied by michael neese on topic new server, k2 sef not working
Thanks for the test...I tried it and it worked fine....so I guess the mod-rewrite is working...have a good weekend....

Olivier Karfis said:
Do this on the server that you have a problem with:

 

1. Create a valid html page, call it testredirect.html and upload it to the root of your Joomla install

2. in your .htaccess file (backup first), type the following at the bottom of the file:

 

Redirect 301 /test123.html http://www.[yourdomainname]/testredirect.html

 

3. Save

4. In your browser, enter:  http://www.[yourdomainname]/test123.html and see if you get redirected to 

http://www.[yourdomainname]/testredirect.html

 

If that works, at least we know that your mod_rewrite works in that directory (and you can delete the file + changes)

 

When I was asking for the url, I meant on the home page of the local site that works, hover over a link and copy the URL then on the same live site that you have problems with, do the same thing.  Are these URLs exactly the same?

 

--Olivier

Please Log in or Create an account to join the conversation.

  • michael neese
  • michael neese's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 7 months ago #93824 by michael neese
Replied by michael neese on topic new server, k2 sef not working
I have found the problem...

Thanks "BBC", for your response, because that was the correct thing to do...but I set the "livesite parameter" with http://mysite.com...this was not working... when I added the "www", making the parameter "http://www.mysite.com"...it worked...well sorta.

But, not until I realized that the default rochen "new account" will leave a .htaccess file that is all "frontpage directives"...??? I discovered this when trying the "redirect" test suggested by Oliver Karfis, the demi-genius...I did get the re-direct to work, and replaced the .htaccess files, but it took some backtracking to realize I needed the "www" in the 'live site".

The restoration process did not overwrite that file...

Thanks for all the suggestions and insights...

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum