Posted - 06/26/2018 : 18:38:46
Hi Will, I presume your client wants to tell customers to visit the short and simple URL (2) which will then instantly redirect to actual location, long URL (1). Here is the [maroon].htaccess[/maroon] entry to accomplish that:
[font=Courier New][orange]# ==================================== # URL Redirects # ====================================[/orange] redirect 301 [purple]/clientarea.php[/purple] https:// domainname.co.uk/secure/billing/clientarea.php[/font=Courier New]
Or you can simplify the short URL even further.
[font=Courier New][orange]# ==================================== # URL Redirects # ====================================[/orange] redirect 301 [purple]/clients[/purple] https:// domainname.co.uk/secure/billing/clientarea.php[/font=Courier New]
Remove the space I added after https:// I put all redirect 301 entries near end of the [maroon].htaccess[/maroon] file. Presume in the <head> of [maroon]clientarea.php[/maroon] you have this entry:
[font=Courier New]<meta name="robots" content="noindex, nofollow">[/font=Courier New]
Gary [img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]
Edited by - ITZAP on 06/26/2018 18:52:06
|