my .htaccess not working with my frontpage (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


yslim -> my .htaccess not working with my frontpage (12/8/2005 13:26:28)

Hi everyone,

I need someone to help me. i have a blog site at http://www.financial-freedom-online.net which powered by wordpress.

I have installed frontapge extension. In order to support all the permanent links in http://www.financial-freedom-online.net, i need to add some code into .htaccess that provided by wordpress. After i added the code from wordpress, i am not able to use MS frontapge to open my site (http://www.financial-freedom-online.net). please help.

Following my .htaccess code:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.financial-freedom-online.net
AuthUserFile /home/finance/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/finance/public_html/_vti_pvt/service.grp


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=40]
RewriteRule ^(rss-feeds)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(rss-feeds)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(rss-feeds)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(rss-feeds)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(rss-feeds)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
RewriteRule ^page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
RewriteRule ^search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /index.php?s=$1&paged=$2 [QSA,L]
RewriteRule ^search/(.+)/?$ /index.php?s=$1 [QSA,L]
RewriteRule ^category/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^category/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA,L]
RewriteRule ^category/(.+)/?$ /index.php?category_name=$1 [QSA,L]
RewriteRule ^author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^author/([^/]+)/page/?([0-9]{1,})/?$ /index.php?author_name=$1&paged=$2 [QSA,L]
RewriteRule ^author/([^/]+)/?$ /index.php?author_name=$1 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA,L]
RewriteRule ^([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^([0-9]{4})/page/?([0-9]{1,})/?$ /index.php?year=$1&paged=$2 [QSA,L]
RewriteRule ^([0-9]{4})/?$ /index.php?year=$1 [QSA,L]
RewriteRule ^([^/]+)/trackback/?$ /index.php?name=$1&tb=1 [QSA,L]
RewriteRule ^([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?name=$1&feed=$2 [QSA,L]
RewriteRule ^([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?name=$1&feed=$2 [QSA,L]
RewriteRule ^([^/]+)/page/?([0-9]{1,})/?$ /index.php?name=$1&paged=$2 [QSA,L]
RewriteRule ^([^/]+)(/[0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA,L]
</IfModule>

# END WordPress




Tailslide -> RE: my .htaccess not working with my frontpage (12/8/2005 14:18:21)

Is there a reason you need to use FrontPage with the Wordpress site? - you could either edit it via the Dashboard for the dynamic pages or use Notepad locally for the template pages and CSS files.

Edit: also - the Wordpress support forum is a real goldmine when it comes to queries like this one: http://wordpress.org/support/ - oops you've already tried that haven't you - sorry!

Edit2: It looks like any editing of the .htaccess file when you've got FP server extensions installed may corrupt the extensions. Wordpress will write to your .htaccess file to sort out those ugly urls - looks like your alternatives may be either have FrontPage extensions or have the nice urls from WP.

Found this:
quote:

Before beginning using .htaccess, I should give you one warning. Although using .htaccess on your server is extremely unlikely to cause you any problems (if something is wrong it simply won't work), you should be wary if you are using the Microsoft FrontPage Extensions. The FrontPage extensions use the .htaccess file so you should not really edit it to add your own information. If you do want to (this is not recommended, but possible) you should download the .htaccess file from your server first (if it exists) and then add your code to the beginning.


Maybe you've got nothing to lose by downloading the .htaccess file back onto your local pc from the web server via FTP and swap the WP and Frontpage bits around and re-upload via FTP ...




BobbyDouglas -> RE: my .htaccess not working with my frontpage (12/8/2005 15:20:07)

There is a way to get FrontPage working with .htaccess. The solution is rather complicated, but if you search the forums here you will be able to figure it out.




Tailslide -> RE: my .htaccess not working with my frontpage (12/8/2005 16:31:28)

BobbyD - is the problem not that WP is re-writing the .htaccess file and thus corrupting it as far as the FPSE are concerned rather than .htaccess in itself?




BobbyDouglas -> RE: my .htaccess not working with my frontpage (12/9/2005 2:52:14)

The problem is that the FPSE is trying to rewrite the actual FP files on the server, and automatically results in a 500 errior. The actual error log displays what causes the issue, but I forget what it is.

Basically, you need a .htaccess file in EVERY FPSE location (that contain the real FPSE files), and on the .htaccess you have a comment that ignores something specific.




Kitka -> RE: my .htaccess not working with my frontpage (12/9/2005 6:32:20)

I found a solution for me - might work for you. Have a look here:

http://www.frontpagewebmaster.com/m-266165/tm.htm




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.347656E-02