The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Jan 14, 2013 10:54 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 24, 2011 12:23 am
Posts: 23
Location: Santa Monica, CA
I have implemented some URL rewriting using apache and the .htaccess file.

How have others done this when they have local development environment, and then also a staging and/or production environment?

Does anyone use git and also do this?

_________________
Our mission is to build a Tennis Ladder in every city.

http://tennisladders.net


Top
 Profile  
 
PostPosted: Tue Jan 15, 2013 1:54 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Wed Jan 09, 2013 10:39 am
Posts: 1065
Location: India
pfergi42 wrote:
I have implemented some URL rewriting using apache and the .htaccess file.

How have others done this when they have local development environment, and then also a staging and/or production environment?

Does anyone use git and also do this?

Joomla 2.5 comes with "Redirector" component which helps you redirect specific links to another ones.
Have a look: http://www.inmotionhosting.com/support/edu/joomla-25/303-using-the-redirect-manager

_________________
With Kind Regards,
Ready Bytes Software Labs


Top
 Profile  
 
PostPosted: Mon Jan 21, 2013 3:13 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Nov 13, 2009 1:33 pm
Posts: 500
You could use a different .htaccess file for the remote server and for the local environment

_________________
http://www.themepartner.com/ - Easy to Use Professional Joomla Templates
http://www.themepartner.com/download-free-ebook/ - Download FREE Joomla! 3 SEO ebook


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 4:53 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 24, 2011 12:23 am
Posts: 23
Location: Santa Monica, CA
Thetjo wrote:
You could use a different .htaccess file for the remote server and for the local environment


This sounds like a simple and correct configuration. Let me give it a try.

_________________
Our mission is to build a Tennis Ladder in every city.

http://tennisladders.net


Top
 Profile  
 
PostPosted: Tue Feb 05, 2013 9:50 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Wed Jan 09, 2013 10:39 am
Posts: 1065
Location: India
pfergi42 wrote:
Thetjo wrote:
You could use a different .htaccess file for the remote server and for the local environment


This sounds like a simple and correct configuration. Let me give it a try.

Have you tried it? The problem is solved or not?

_________________
With Kind Regards,
Ready Bytes Software Labs


Top
 Profile  
 
PostPosted: Mon Feb 11, 2013 8:36 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 24, 2011 12:23 am
Posts: 23
Location: Santa Monica, CA
Have not tried yet... there is code written that also plays a part, not just the .htaccess file.

_________________
Our mission is to build a Tennis Ladder in every city.

http://tennisladders.net


Top
 Profile  
 
PostPosted: Mon Feb 18, 2013 11:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 25, 2012 7:17 am
Posts: 4
Joomla comes with htaccess.txt, and the option to rewrite urls. So you have to first change the htaccess.txt file to .htaccess on the server, then login and in the configuration settings change SEF to on, and use .htaccess to on.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group