Re: how to redirect using .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Kranthi: thanks for your reply. but i don't find my solution over there.
moreover, i post here for more specific solution. but thanks, at least you
encourage me to search in google. however, i have googled and get a solution
but still have a problem. here is my .htaccess file
Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^favicon\.ico - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
Redirect permanent /wordpress http://www.shopno-dinga.com/myblog

when i hit http://www.shopno-dinga.com/wordpress
it works fine but the url display
http://shopno-dinga.com/myblog/?/wordpress

what to do to get only
http://shopno-dinga.com/myblog

thanks
Aminul


On Sun, Oct 19, 2008 at 10:40 AM, kranthi <kranthi117@xxxxxxxxx> wrote:

>   Hi,
>
> I think the redirect command <http://www.shopno-dinga.com/wordpress> is a
> good solution to your problem. it did not work on my local server but since
> you are planning to go online i m hopeful that it works. but as the site
> says it'll be required that the wordpress folder exists.
>
> or else mod rewrite will be a very good alternative. you can find very good
> tutorial at http://corz.org/serv/tricks/htaccess2.php. note that here
> http://www.shopno-dinga.com/myblog will not be visible on the URL bar of
> the
> user(user'll still see http://www.shopno-dinga.com/wordpress)
>
> Kranthi.
>
>
> On Sun, Oct 19, 2008 at 21:33, Aminul Islam <aminulsumon@xxxxxxxxx<aminulsumon%40gmail.com>>
> wrote:
>
> > hi experts,
> > here is what i need to do
> > if someone visit
> > http://www.shopno-dinga.com/wordpress
> > then it actually hits
> > http://www.shopno-dinga.com/myblog
> > how to do it using .htaccess file? FYI: i have no folder named wordpress
> in
> > my server
> >
> > any help highly appreciated.
> > thanks
> > Md. Aminul Islam
> > http://www.shopno-dinga.com
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Md. Aminul Islam
http://www.shopno-dinga.com
Mob: 8801671670797


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux