Page 1 of 1

URL with unlike part - how to solve it?

Posted: Sun Nov 25, 2012 7:23 pm
by ronaldoo
Hello guys!

I'm using Joomla! 3.0 here and when I did use the Search Engine Friendly URLs I saw it on my menu link: http://localhost/mysite/index.php/2012- ... ticle-name

How can I set up to my URL be http://localhost/mysite/index.php/my-article-name (without the "2012-11-10-21-14-04")???

Thank you so much!

Re: URL with unlike part - how to solve it?

Posted: Mon Nov 26, 2012 6:28 pm
by SimonHayter
Enable SEF in config menu, and rename txt.htaccess to .htaccess

And set the correct Live Site url in your config file.

Re: URL with unlike part - how to solve it?

Posted: Tue Nov 27, 2012 10:51 am
by ronaldoo
polomintus wrote:Enable SEF in config menu, and rename txt.htaccess to .htaccess

And set the correct Live Site url in your config file.
Hello, I have renamed the .htaccess file but the website doesn't work anymore. I'll check the Live Site correct URL and I'll post back soon. Thank you, polomintus!

Re: URL with unlike part - how to solve it?

Posted: Tue Nov 27, 2012 11:23 am
by SimonHayter
If you are using a local lamp server that uses apache2 you need to ensure that you have mod rewrite installed within apache2. Also you may need to config the httpd.conf

I'm not the best person to ask on lamp as normally I use real hosting for all testing and just use sub domains. These are pre-setup and work without the problems.

Re: URL with unlike part - how to solve it?

Posted: Tue Nov 27, 2012 11:49 am
by ronaldoo
polomintus wrote:If you are using a local lamp server that uses apache2 you need to ensure that you have mod rewrite installed within apache2. Also you may need to config the httpd.conf

I'm not the best person to ask on lamp as normally I use real hosting for all testing and just use sub domains. These are pre-setup and work without the problems.
Alright, I use the WAMP server. Thanks.

Re: URL with unlike part - how to solve it?

Posted: Tue Nov 27, 2012 12:52 pm
by SimonHayter
As I said I dont use Lamps, or Wamps or even Xamps lol. But you need to check if they have mod rewrites. Check on their site or hopefully someone here can answer that question.

Re: URL with unlike part - how to solve it?

Posted: Tue Nov 27, 2012 12:57 pm
by ronaldoo
polomintus wrote:As I said I dont use Lamps, or Wamps or even Xamps lol. But you need to check if they have mod rewrites. Check on their site or hopefully someone here can answer that question.
Sure polomintus, I'll check this out soon and update this post. Thanks!

Re: URL with unlike part - how to solve it?

Posted: Mon Dec 03, 2012 11:36 am
by ronaldoo
ronaldoo wrote:
polomintus wrote:If you are using a local lamp server that uses apache2 you need to ensure that you have mod rewrite installed within apache2. Also you may need to config the httpd.conf

I'm not the best person to ask on lamp as normally I use real hosting for all testing and just use sub domains. These are pre-setup and work without the problems.
Alright, I use the WAMP server. Thanks.
Hello mate!

My configuration.php file have now:

Code: Select all

public $live_site = 'http://localhost/my_site/';
And I've renamed the .htaccess file and activated the SEF and URL Rewriting. I activated the rewrite module in my Apache too.

But... It doesn't work yet... Any idea? Thanks.

Re: URL with unlike part - how to solve it?

Posted: Mon Jan 21, 2013 3:51 pm
by Thetjo
The date gets added as an alias in some rare cases when Joomla isn't able to generate a proper alias. The problem also seems related to External Url, have you looked into that? http://forum.joomla.org/viewtopic.php?p=2719574

Re: URL with unlike part - how to solve it?

Posted: Mon Jan 21, 2013 7:14 pm
by ronaldoo
Thetjo wrote:The date gets added as an alias in some rare cases when Joomla isn't able to generate a proper alias. The problem also seems related to External Url, have you looked into that? http://forum.joomla.org/viewtopic.php?p=2719574
Hey Thetjo, thanks for the answer. I'm not be able to test it now, but as soon I'm back to home I'll test and post again. Thank you!

Re: URL with unlike part - how to solve it?

Posted: Mon Jan 21, 2013 9:06 pm
by ronaldoo
ronaldoo wrote:
Thetjo wrote:The date gets added as an alias in some rare cases when Joomla isn't able to generate a proper alias. The problem also seems related to External Url, have you looked into that? http://forum.joomla.org/viewtopic.php?p=2719574
Hey Thetjo, thanks for the answer. I'm not be able to test it now, but as soon I'm back to home I'll test and post again. Thank you!
Great tip, Thetjo! It solve my problem! I just set the Menu Item Type to Menu Item Alias, typed an nice alias and it works pretty good!

Thank you so much for the answer!