Custom URLs in HostBill?

Started by xaviercr, June 24, 2013, 09:48:53 PM

xaviercr

Is there anyway to translate the default URLs in hostbill?

For example:
/cart -> /mycustomcart
/signup -> /myurl
/knowledgebase -> /theurlichoose

etc...

Thanks!

Lawrence

You should be able to do server sided rewrites with mod_rewrite and .htaccess. Are you looking for .htaccess help?

Great reference,
- http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

Easy and excellent guide on achieving what you want to do,
- http://coding.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/
Skype: sociallarry | AIM: [email]larry.aim@aim.com[/email] | Forum Rules & Information

These forums are hosted by me with no intentions to ever monetize them. These forums are here solely for the benfit of the HostBill community.

xaviercr

Hello Lawrence,

Thank you very much for your reply.

Im running the default hostbill .htaccess which has the following content

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^downloads/?$ ?cmd=downloads [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>


What im looking to do is rename the default HostBill Urls , for example mysite.com/knowledgebase to mysite.com/mycustomurl

do you know what i would need to add to the .htaccess file for this?

Thanks again

xaviercr


Enterprisevpssolutions

Just use the hostbill SEO URLs settings function to help rename the sites. your htaccess file looks correct.
Enterprise Vps Solutions (VPS) - Cloud Solutions, Shared hosting, VPS , and more, Fast Dedicated Servers. Great ssl prices SSL Certs, Follow us on Twitter. Sales Question? Contact us! Send us a Request Tampa , Florida Hivelocity Datacenter

xaviercr

Hello

Thank you for the reply , I checked the SEO plugin but this only allows me to set page titles, and meta tags

I would like to rename the URL

for example

http://www.hostbilldomain.com/cart/

rename to

http://www.hostbilldomain.com/mycarturl/

Thanks again for your help