php


WP-login.php is Redirecting to the wrong URL


By mistake I have installed a php script in my root directory, where wordpress is available. After that all my permalinks have been changed. After I modified .htaccess file and permissions file by ftp, now my site site is almost OK.
Still, I can't log-in admin panel. When I supply admin user name and password, the url I am redirected to is http://investorsbd.com/index.php/wp-login.php (extra index.php has shown) and says nothing found for index php login.
How can I remove that extra index.php for log-in my wordpress admin control panel?
Modify your .htacess file with below code
#RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
else try this code
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /dwellingventures/dwelling/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . http://investorsbd.com/index.php [L]
</IfModule>
# END WordPress
Hope it helps you
This is a temporary fix, but if you click the forgot password link and then enter your email and then login it will work.
More permanently, we found it easier to link directly to wp-login rather than wp-admin.

Related Links

how to store chechbox value in php
mysql muliple queries in one statement
PHP Static Variables
php code analysis
PHP Object Validation
How to use cms systems like drupal and so on for crawl only? [closed]
How do I loop through MySQL results easily?
Accessing Mac applications from Ruby or PHP or Cocoa
How do I run PHP code when a user clicks on a link?
How do you just get the vars in a url using php?
ArrayCollection in PHP
Recursively build XML from PSQL Result Set (using PHP)
How to display weekly(Mon to Sun) data in php and mysql?
Escape double quotes of HTML attributes output by PHP
PHP Startup: Timezone database is corrupt
I need to collect an array of classes to call their static variables in php

Categories

HOME
hpoo
google-chrome
visual-studio
plesk
keyboard
jms
softlayer
openlayers-3
typeerror
google-webmaster-tools
qooxdoo
cdi
selection
gtk
xades4j
slide
fbloginview
buffer
bootstrap-switch
freertos
webstore
xbox360
psql
bazaar
wsf
opam
rxjs5
intel
device
pyopencl
hdmi
android-cardview
msdeploy
sendmessage
laravel-4.2
objectmapper
opnet
reporting
john-the-ripper
seafile-server
textmate2
xvfb
mv
cloudera-quickstart-vm
iscroll
suds
access-denied
fiware-wirecloud
oracle-bmcs
moinmoin
xcode8.2
windows-media-player
roracle
image-registration
hibernate-ogm
phppgadmin
gnome-terminal
portability
swiperefreshlayout
openerp-6
researchkit
livereload
fuzzer
pyaudio
nvda
gcloud-node
openseadragon
deferred-rendering
maximize
facebook-ios-sdk
xcopy
currency-exchange-rates
pack
json-spirit
decidable
self
directx-9
http.client
android-studio-import
gluon-desktop
360-degrees
deque
tkx
pass-by-value
lifetime
visual-studio-6
forceclose
application-blocks
statechart
flv
asp.net-mvc-3-areas
xmlwriter
icenium
getproperty
wiktionary
qt-mobility
page-curl
asp.net-mvc-views
webresponse
solandra
ninject-interception
fgetc
zend-test
inversion

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App