I have an Ecommerce-Store and I want to overwrite an URL.
So I click on a link , and then the site opens with the url
http://www.myurl.de/order,
but I want the URL
http://order.myurl.com (subdomain).
I'm not sure how I can rewrite the existing url with the other one.
Kind regards
Tim
Related
A marketer in my company has a landing page on our site: www.importantcompany.com/amazingproduct
They have a vanity url that goes to the landing page:
www.amazingproduct.com
I successfully created the iis redirect rule. However, the marketer has comeback and would like to keep the redirect rule, but keep the address in the bar www.amazingproduct.com instead of www.importantcompany.com/amazingproduct
I'm assuming that this is not possible.
The only way to make this work is to create a new site in iis and copy the landing page into the new site and set the new site to go to www.amazingproduct.com
Please let me know if my assumption is correct.
Thanks!
Your assumption is incorrect.
You could write a filter on IIS that looks at the requested URL and notes if "www.amazingproduct.com" is sent in to do a "Server.Transfer" of the request to the subfolder that would be one solution that wouldn't require a new site at all.
URL Rewrite could also be another way to configure a way around this to some degree.
I want to copy my website (Orchard 1.7.2.0) to localhost, to test some things before I do that on the live site.
Ik copied the database and de web directory and configured iis. In the orchards database I changed the base url in the Settings_SiteSettings2PartRecord table. I also changed the database connection in settings.txt
Now when I enter the new base url in the browser I get redirected to the original url. How can I prevent this? I can't find any other reference to the original url.
Thanks in advance for your answer.
I found out what went wrong.
There was a rewrite in the database to the originial url (for removing www in the url). I removed that and now it works.
I am Using Joomla 2.5, I am using extension Enmass for site, I have make SEO URL from Admin but URL will show like this
http://abc.com/index.php/component/enmasse/deal/view/8/evo_in_line_foldable_scooter_black
I need to rewrite this URL to
http://abc.com/evo_in_line_foldable_scooter_black.html
I had tried to change in .htaccess but i didnt success.
If any one has idea for this please let me know.
You can create a menu item within Joomla for this Enmass view and it will create this URL.
The URL you see is created by the Joomla JRoute class if no menu item (Itemid) is passed together with the raw URL.
Also the extension can set up its own routing rules with the router.php file (/components/com_enmasse/router.php).
I am trying to remove the part from my url here is the url "http://example.com/custom_joomla_template-2.5.6/about-us/portfolio/itemlist/category/3-category-2"
Now I want to remove "itemlist/category/" from the url so that url can be look link "http://example.com/custom_joomla_template-2.5.6/about-us/portfolio/3-category-2"
I am using default functionality of joomla i.e. SEF urls, I need to simplify it more I am new for the htaccess
Please suggest link for learning how to write rules for .htaccess file
Please help
Easiest thing is just to make a menu link somewhere that goes directly to category-2. That will set up the url correctly. It will also get rid of the 3-
I am migrating an asp site to drupal.the existing site node URL is as
story.asp?sectioncode=1&storycode=49667&c=1
to use the same urls in drupal site i add the URL in URL aliases.when i click on any article it it showing as
story.asp%3Fsectioncode%3D1%26storycode%3D49667%26c%3D1
in the browser.how to remove %3D,%26,%3F from the URL and when i copy and paste the old url in the browser it is not redirecting me to the actual page giving 404 not found page.could some one please help me how to manage my old URLs as it is in new site.
You're not supposed to type something like story.asp?sectioncode=1&storycode=49667&c=1 as an URL alias.
There's a better way to do that. Try installing redirect module and add a new 301 redirect rule from story.asp?sectioncode=1&storycode=49667&c=1 to your new node's URL node/1.
So, whatever any user / search engine visits story.asp?sectioncode=1&storycode=49667&c=1, they will be redirected to node/1. or whatever the path you have given to the 301 redirect rule.
Hope this Helps... Muhammad.