Changed admin url, and now cannot access Magento login page - magento

I tried to change the admin url of magento. As per the basic settings, it was located on www.domain.com/admin
I tried to change that and now I can't even access the login page. When I enter the new word that I replaced with "admin", I am taken to a login page which just appears like a basic html page with a box for username and password, and when I login I'm taken to the homepage of the website.
I also noticed that the word has started to appear twice in the url of backend such as if the correct address is to be:
www.domain.com/index.php/newadminword/system_config/index/key/0ddf3e37ef9a494c10afe626dee8efc7/
but when I login by that basic html page, the url becomes:
www.domain.com/newadminword/index.php/newadminword/system_config/index/key/0ddf3e37ef9a494c10afe626dee8efc7/
I removed the first 'newadminword' from the url and then I'm being led to the magento admin area, but here as well, the page is again basic html. The following link is a pic of how my magento dashboard looks now.
http://i.stack.imgur.com/2Qnva.jpg
Can anybody help me with this? I'm not so good at programming so please try to keep the instructions as simple as possible. Thanks.

Related

Unable to login and use admin magento 1.9

I changed admin base url now css and admin links do not work, i can login but nothing else works after that.
can anyone help?
I have tried to change admin url, i can atleast access the login page but apart from that nothing works.

How to forward all the 404 pages to the front page?

I have a simple question...I had an old store and people bookmarked specific product pages in their browsers as well as Google search points to some specific pages. I have now installed a new version of Magento (1.9.1) and some of these URLs will not longer work (they will show the standard 404 not found Magento page).
What would be the best way to forward all these hits to the front page?
Thank you for any suggestions!
Allysin :-*
Login to the admin, go to System>Configuration>Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page.
Here is a reference with images
If manual setting doesnt help,you can try this.

Magento site redirects to home page when ssl is enabled

I am using magento 1.8.1.0 and i have enabled SSL. SSL is purcahsed from Godady and is installed and configured at the server.
I have also set the Base URL in secure section to https://..... . Now when i enable it for front end, and then when i try to go to customer login page (which is served by https), i am always redirected to home page.
I have applied a few fixes, but no one worked.
The fix described on the below link starts a redirect loop and the site never loads.
Magento HTTPS on all website: urls redirect to homepage
Also i have read the following:
http://www.aschroder.com/2012/07/magento-ssl-offloading-with-amazon-elb/
https://magento.stackexchange.com/questions/38250/ssl-issues-with-magento-behind-load-balancer-302-loop
http://blog.ideaday.de/max/2012/12/magento-https-redirect-loop-ssl-offloading-proxies-pound-nginx/
https://www.sonassi.com/knowledge-base/magento-kb/magento-https-redirect-loop/
http://magentocoder.jigneshpatel.co.in/magento-redirection-loop-problem-after-installing-ssl/
And no fix is working for me.
Now i am offering a 50 points bounty for the correct answer.
Can someone give me some idea how to fix this issue?
Thank you
I saw this problem while on a login form submitted via ajax, the login form was loaded as part of a http page as opposed to https, which is not good, and then the login form data submitted by ajax to a https controller url. on success some javascript would try to load a https landing page into the main window.
The problem was magento would redirect the landing page which is what you're experiencing.
To solve hte issues, we loaded the login form by https and dynamically put it into the dom. We used the form action to a https link, and a form submit rather than an ajax post. Then the magento controller would use a redirect in the response to the landing page or an error page.
Go to Your system->confi->web->Session Validation Settings
Validate HTTP_X_FORWARDED_FOR and Validate HTTP_USER_AGENT
this two fields are enable so only disable it ! :)

MVC link text from address bar

I have made a website with MVC and I have a little problem on routing: the link addresses from address bar appears with some strange paramaters like:
http://localhost:1413/Account/LogOn?ReturnUrl=%2f
instead of
http://localhost:1413/Account/LogOn
What should I do to have customized addresses.
I don't use any parameters.
The ?ReturnUrl=%2f portion of the Url is added by ASP.NET when a user is automatically redirected to the login page. Its added so that after the user logs in, they can then be redirected to their original page.
In this case, %2f represents the / meaning that the user tried to access the landing page and was subsequently redirected to the logon page. After they login successfully, they will then be redirected to the landing page.
You can still use the http://localhost:1413/Account/LogOn

Controller Url removing

i am trying to remove magento controller url in browser address bar.
for example my site have URL WWW.test.com/ - this page is a home page for my site.
But but i have redirected to login page for customer login. once user type www.test.com site will be redirect to WWW.test.com/customer/account/login display login page.
So for Seo purpose i am trying to set "WWW.test.com/" as a login content with parent URL (WWW.test.com/) . I tried all the ways using ht access. but not reflect.
Can any one able to give me better solution for this problem
(Sorry for bad English)
Thanks all
The easiest approach is to insert login form HTML into your CMS page.

Resources