Change Magento header Checkout URL - magento

In the header of Magento the checkout url goes to /checkout/onepage/. How can I change this to /onepagecheckout/?

Please use url rewrite in this case.
you can refer this link

Related

onepage checkout page is not loading

I had updated a custom theme in magento 1.9 all goes well but when I click on "proceed to checkout" button on cart page (i.e http://mysite/checkout/cart/) it shows link(http://mysite/checkout/onepage/) but always redirects to home page
and If I change the theme to (rwd theme) then this page "link(http://mysite/checkout/onepage/)" runs well
what I am missing in my custom theme that unables the onepage checkout page to load correctly? PLEASE HELP
I checked admin settings >System>Configuration>General>Web
secure base url and other settings all are ok but still I am not able to load to checkout. It still redirects to homepage.
I refer to this link http://www.neiltolbert.com/magento-ssl-checkout-redirect-fix/ for admin settings
If checkout page url is not correct then correct the url for redirection.
Check .htaccess file taht is rewrite mod is ON.
<IfModule mod_rewrite.c>
// rewrite code here
</IfModule mod_rewrite.c>
And check url rewrite code of checkout page if custom rewrite code is available.
And Need to check your add to cart button action , Action url must be redirected to checkout page.

Magento: How can i redirect category to another url

How can i redirect specific category in menu to link in another website?
How can I do this?
You can do this via .htaccess of your website.
Redirect 301 /your_category_url_key.html http://www.yournewsite.com
I hope this helps.

Joomla 2.5 url shows two url with index.php and without

my url is http://www.clippingpathoutsource.com and it works fine but when I click to the logo of the page then the url shows http://www.clippingpathoutsource.com/index.php
Could anyone please help me?
it is difficult to identify the problem without looking at the code in the template file...
check the following:
1) In Template check index.php for below block of code
<div class="logoArea">
<a href="/index.php">
2) Instead of "/index.php" in the href attribute of the a tag put your domain name.

where we define checkout page has to be https

If we enable https in our site at admin apnel then home page and checkout pages will run under https and other page will run under http only. So in which page we make this settings? I know by default magento provides this, But I need to know in which file this configuration will de defined?
The configuration for certain pages to be secure is done in the config.xml file of each module. Let's take as example the checkout page. In app/code/core/Mage/Checkout/etc/config.xml there is this:
<frontend>
<secure_url>
<checkout_onepage>/checkout/onepage</checkout_onepage>
<checkout_multishipping>/checkout/multishipping</checkout_multishipping>
</secure_url>
....
</frontend>
This tells Magento that the pages /checkout/onepage and /checkout/multishipping should be secure if HTTPS is enabled.
The decision if an url is secure or not is made by this line:
$this->_checkShouldBeSecure($request, '/'.$module.'/'.$controller.'/'.$action);
in Mage_Core_Controller_Varien_Router_Standard::match() method

Change URL in address bar but keep on same page

Is it possible to rewrite a url so that the page stays the same and the url itself is chanaged ?
E.G.:
I have a page at www.example.com/sales
I want this url to appear in the address bar as www.example.com/sales_and_repairs
I am NOT trying to redirect a page at www.example.com/sales to ANOTHER page at www.example.com/sales_and_repairs ....There is only ONE page - it is just the URL I am trying to change so that if a person types in www.example.com/sales, they will go to that page but the URL in the Address bar will change to show as www.example.com/sales_and_repairs
Is this possible with rewrite rules ? Anytjhing I have looked up appears to suggest that you have to be redirecting to a second page - but that is not what I want to do - I just want to change the actual URL.
Any advice please ??
If you want to redirect www.example.com/sales_and_repairs to www.example.com/sales permanently you can do it with an .htaccess file.
First of all, you'll have to enable mod_rewrite in apache.
Then add the following to your .htaccess file :
Options +FollowSymlinks
RewriteEngine on
Rewriterule ^http://www\.example\.com/sales_and_repairs$ http://www\.example\.com/sales [R=301,NC,L]
This method allow you to have only one file behind the two urls.
However if you want to modify the url after a user's action, you can do it with the answer given by Sparda above.
Seems you can achieve this with javascript :
location.hash = 'newurl';
But this will add an anchor to the url.
Some earlier features of html5 can do this but are not really supported yet :
history.pushState(data, 'title', 'newurl');

Resources