onepage checkout page is not loading - magento

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.

Related

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.

redirect base url to custom url magento

I want to redirect my baseurl to a custom url(i.e a CMS page basically)
base url : index.php
custom url: home
I followed following steps:
1. Navigate to Catalog > Url Rewrite Management
2. Click the “Add Urlrewrite” button
3. Select “Custom” from the “Create Urlrewrite” drop-down menu
4. The “Urlrewrite Information” form would be completed thusly:
ID Path: index.php
Request Path:index.php
Target Path: home
Redirect: Permanent(301)
Then refreshed cashe. But redirection is not working. "index.php" is still showing same page
Where I am doing wrong?
To create a rewrite for the base url you have to use / instead of index.php
You can try this
Create URL Redirect in admin panel :Marketting->URL Rewrites
Request Path: index.php
target path: ../
it will redirect strong text to the homepage.

Magento admin redirects to 404 page after login

I'm struggling to set up Magento 1.9.1 on Godaddy for the few hours. I've managed to get all URLs work, except admin, which renders a 404 page with Magento's "Whoops" message just after logging in with the right password.
The URI: /index.php/admin/dashboard/index/key/b4a2c39042dae9efe5b17e98e93d5f64/
Changing the core library files as suggested in other topics didn't make any difference.
I had the same trouble, I have resolved it editing .htaccess. My Magento installation is in a subdirectory of my hosting. I have removed the # on the RewriteBase line and added the right value for the subdirectory.
in .htaccess :
RewriteBase /magento_directory/

Private Joomla 2.5 K2 items redirects back to homepage instead of origin link after login

I am gonna try my best to describe our problem. Hopefully someone way smarter than us can figure this out. One of our Joomla sites has some content that requires login, simple enough right? The normal login functionality works great. Once logged in we could see the locked down content. But lets say we have a direct link to a "locked" page, once logged in, the page redirects to the homepage (index.php).
Natively Joomla 2.5 should retain the origin link, and redirects to that link, not back to index.php. So if my link was homepage.com/k2item1, after login it should go to k2item1 not index.php. I have tried turning off all modules and plugins just in case something is overriding the native login functionality from links. I have checked the .htaccess file for redirects. I have tried both settings in SEO settings "Use URL rewriting", Yes/NO doesn't matter. I have tried renaming the override folder (html) in our template folder, so no overrides should happen. Nothing. The link still redirects back to index.php. I have even tried printing out the form/user object to see if the origin link was there, aka "return", and the link is in there, but after login, still index.php instead of the string "return". Any ideas will be greatly appreciated. Maybe there are plugins out there that would help ensure links do not redirect to home page?
Override the component: mod_k2_user/login.php and edit the hidden input name "return".
<input type="hidden" name="return" value="<?php echo base64_encode(JURI::current()) ?>" />

Change Magento header Checkout URL

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

Resources