Custom URL's
Moderator: General Support Moderators
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.
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.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Feb 07, 2012 3:23 pm
Custom URL's
Hi guys,
One of my old sites went down and I need to recreate the same pages - hopefully with joomla.
The url's must be the same as the old ones (google adwords history), so I need my site to have url's like this (examples):
www.mysite.com/quick-loans.php
www.mysite.com/best-payday-loans.php
www.mysite.com/secured-loans.php
www.mysite.com/fast-loan.php
etc etc
I can't find anywhere where i can change the url's in the backend of joomla but i may be missing something. there must be a way to specify your own url's ?
I liked the idea of using joomla for this as i can duplicate articles and menu items and change the content saving me a bit of time.
Any help would be very much appreciated.
Thanks
One of my old sites went down and I need to recreate the same pages - hopefully with joomla.
The url's must be the same as the old ones (google adwords history), so I need my site to have url's like this (examples):
www.mysite.com/quick-loans.php
www.mysite.com/best-payday-loans.php
www.mysite.com/secured-loans.php
www.mysite.com/fast-loan.php
etc etc
I can't find anywhere where i can change the url's in the backend of joomla but i may be missing something. there must be a way to specify your own url's ?
I liked the idea of using joomla for this as i can duplicate articles and menu items and change the content saving me a bit of time.
Any help would be very much appreciated.
Thanks
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Feb 07, 2012 3:23 pm
Re: Custom URL's
Ok, some progress:
I changed htaccess.txt to .htaccess then
Global Configuration / use url rewriting set to yes / add suffix to yes
Now i can goto mysite.com/payday-loan but if i try
mysite.com/payday-loan.php I get an error
I need the custom urls to end in .php how can i acheive this ? I thought the suffix option would do this.
Thanks
I changed htaccess.txt to .htaccess then
Global Configuration / use url rewriting set to yes / add suffix to yes
Now i can goto mysite.com/payday-loan but if i try
mysite.com/payday-loan.php I get an error
I need the custom urls to end in .php how can i acheive this ? I thought the suffix option would do this.
Thanks
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Feb 07, 2012 3:23 pm
Re: Custom URL's
hmmm it works if i type in
mysite.com/payday-loan.html - how can i change this to end in .php
mysite.com/payday-loan.html - how can i change this to end in .php
-
- Joomla! Apprentice
- Posts: 48
- Joined: Sat Aug 30, 2008 6:03 pm
- Contact:
Re: Custom URL's
How did you get yours to work on .html?
I need to make mine html put it is not even working for me.
I need to make mine html put it is not even working for me.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Feb 07, 2012 3:23 pm
Re: Custom URL's
I followed the steps outlined in my second post ie
Good luck, hope I have been of help
Those two steps will allow the .html by default. Make sure you do step 1 before step 2 to avoid 404 errors.shroomla wrote: 1. change htaccess.txt to .htaccess - this file is in your joomla root (where you uploaded your joomla files to)
2. In joomla: Under the site tab goto Global Configuration / use url rewriting set to yes / add suffix to yes
Good luck, hope I have been of help
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Feb 07, 2012 3:23 pm
Re: Custom URL's
Back to my issue ie getting the .php to work
I found out that the file i need to edit is apparently includes/router.php
someone out there must've had this issue and know the code I need to change to get this to change the url's to .php instead of .html ?
Any help would be greatly appreciated
I found out that the file i need to edit is apparently includes/router.php
someone out there must've had this issue and know the code I need to change to get this to change the url's to .php instead of .html ?
Any help would be greatly appreciated
- NachoBrito
- Joomla! Apprentice
- Posts: 37
- Joined: Tue Sep 21, 2010 3:35 pm
- Location: Madrid (Spain)
- Contact:
Re: Custom URL's
I think the 'html' suffix is hardcoded in Joomla code. The only way to change it is by using a SEF extension lkie JoomSEF (http://extensions.joomla.org/extensions ... t/sef/1063)
Soporte técnico Joomla en Español: http://www.expertosjoomla.es
-
- Joomla! Apprentice
- Posts: 48
- Joined: Sat Aug 30, 2008 6:03 pm
- Contact:
Re: Custom URL's
Hi,
I am getting error 500.
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----------
I am using wamp server.
Please help me out.
Thank you.
Okoji
I am getting error 500.
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----------
I am using wamp server.
Please help me out.
Thank you.
Okoji
- NachoBrito
- Joomla! Apprentice
- Posts: 37
- Joined: Tue Sep 21, 2010 3:35 pm
- Location: Madrid (Spain)
- Contact:
Re: Custom URL's
¿Do you have mod_redirect enabled in your apache?
Soporte técnico Joomla en Español: http://www.expertosjoomla.es
- NachoBrito
- Joomla! Apprentice
- Posts: 37
- Joined: Tue Sep 21, 2010 3:35 pm
- Location: Madrid (Spain)
- Contact:
Re: Custom URL's
Sorry, a meant mod_rewrite...
¿Do you have mod_rewrite enabled in your apache?
¿Do you have mod_rewrite enabled in your apache?
Soporte técnico Joomla en Español: http://www.expertosjoomla.es
-
- Joomla! Apprentice
- Posts: 48
- Joined: Sat Aug 30, 2008 6:03 pm
- Contact:
Re: Custom URL's
@ NachoBrito you are good. I Just enabled it and it worked.
Thank you very much!
Thank you very much!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Feb 20, 2012 6:38 am
- Contact:
Re: Custom URL's
shroomla wrote:I followed the steps outlined in my second post ie
Those two steps will allow the .html by default. Make sure you do step 1 before step 2 to avoid 404 errors.shroomla wrote: 1. change htaccess.txt to .htaccess - this file is in your joomla root (where you uploaded your joomla files to)
2. In joomla: Under the site tab goto Global Configuration / use url rewriting set to yes / add suffix to yes
Good luck, hope I have been of help
Thanks for the information Now I can use my preferably extension