Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Phylliss660

3 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah822

Your question has different answers for different versions of Joomla.
First I recommend on reading this.I work with Joomla 1.5 in the following manner: yourdomain.com/index.php/[menu-alias]/[category-id]-[section-alias]/[article-id]-[article-alias] but I think it's a better practice to get rid of the "index.php" part of the URL (I didn't have time to implement it in my own website). That said, you don't have to "do it yourself" - as you can use plugins such as this one.

10% popularity Vote Up Vote Down


 

@Goswami781

As you're using the title could be anything, and isn't really known until the page id displayed, by which time the URL has been used.

So this only works if you know the code used to generate the title in the PHP file. You could use similar code to that to generate the htaccess rules which convert the cryptic URL to a URL with the title in it.

10% popularity Vote Up Vote Down


 

@Goswami781

Yes, what you're looking for is the Mod_rewrite module for apache2. You may well already have this modules active on your server especially if your using a shared hosting package.
httpd.apache.org/docs/current/mod/mod_rewrite.html explaines its usage.

In essance, you place your 'url rules' in your .htaccess file in your web root.

For example, a .htaccess file might contain:

RewriteEngine On
RewriteRule ^index.html$ newsite.html

would direct a index.htlm request to newsite.html.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme