News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Login issue

Started by Sad_Angel, August 06, 2010, 10:22:39 AM

Previous topic - Next topic

Sad_Angel

Hi!
I have installed  pretty url mod on smf 2.0 RC3, its working fine, only thing is i have also installed wordpress in my forum so it becomes /blog, i can finely browse the blog, but one thing when i try to login as admin in wordpress it directly redirects  to my forum , sometime when i try to log in smf  it again redirects to forum's index.php
But once i disable pretty url this is no longer  a problem. What is unique  solution for this..?

Please can anyone tell me how to fix this..


Thanks in advance...
Peace...

Adish - (F.L.A.M.E.R)

Have you installed Pretty URL's correctly in the first place?

Have a look in the code by parsing the mod for your SMF version.

Sad_Angel

yes, its seems it was configured correctly, its working fine but only problem while log in into wordpress admin..
Peace...

Hj Ahmad Rasyid Hj Ismail

Isn't it the WP plugin problem rather then SMF?

Sad_Angel

i think pretty url overriding action links of wordpress..
once i disable pretty url this is no longer an issue.
Where and how this is happening.. i tried disabling/enabling pretty url 6-7  times..but ended with same.

any solutions..?

Thanks
Peace...

Adish - (F.L.A.M.E.R)

Can you paste your .htaccess here please? Lets have a look into that.

Sad_Angel

Peace...

Sad_Angel

hey, but where can i find this.. i have searched in public_html didn't got it
Peace...

Adish - (F.L.A.M.E.R)

It is a hidden file in cPanel. So make sure you tick to view the hidden files. You can also log into the file manager via FTP and then view the .htaccess from there.

Sad_Angel

Ok i got it, it was hidden

i've disabled pretty url now...should i enable it and download htaccess ?
Peace...

Adish - (F.L.A.M.E.R)

Quote from: Sad_Angel on August 07, 2010, 09:03:02 AM
Ok i got it, it was hidden

i've disabled pretty url now...should i enable it and download htaccess ?


Yep, that would be helpful. :)


Sad_Angel

Here is what i've done
I selected main domain as sourcehacks.co.cc and parked one is http://cyber-wars.tk..now i've installed Wordpress blog in and added subdomain to it so it becomes http://blog.cyber-wars.tk , now when i log into wordpress as admin i directly gets redirected to this http://sourcehacks.co.cc/blog/wp-admin/ i don't know how...
Should i delete wp blog and try reinstalling it..

Here are those 2 htaccess files i've enabled pretty url now
Peace...

Sad_Angel

is eveything configured configured correctly..?
Peace...

Sad_Angel

Hey..please anyone help me..
please tell what to do.

Thanks
Peace...

Adish - (F.L.A.M.E.R)

Please give atleast 24 hours before you bump a topic.

Have a try by adding the following lines in your .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


See what happens?

Sad_Angel

Thanks  (F.L.A.M.E.R), but it is not working..
Same, redirection to forum index page...
Any other such mod is available
Peace...

Hj Ahmad Rasyid Hj Ismail

Quote from: Sad_Angel on August 08, 2010, 03:15:50 AM
Thanks  (F.L.A.M.E.R), but it is not working..
Same, redirection to forum index page...
Any other such mod is available
Pretty URLs is really a unique mod. I dont personally think it is easy to mod that unless a good php coder is referred to. I think it is the best to get paid service for this. It is really not easy to play with .htaccess unless we're really expert in it.

Adish - (F.L.A.M.E.R)

Can you check your server error logs please when this happens? It should throw out something or the other. For a proper .htaccess for pretty URL's to function properly, have a talk with the author in their thread. They'll point you in the right direction.

Advertisement: