Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter technolotics

    (@technolotics)

    Update – wordpress did manage to edit the .ht access in the /technolotics/ folder (where the index.php lives) but the comments and permalink are still dead.

    Here’s the content of the .htaccess if it helps…

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

    # END WordPress

    Thread Starter technolotics

    (@technolotics)

    Found a solution to this which might be helpful to anyone with the same problem..

    Change the blog address to the folder where you’ve put the index.php…
    in this case https://www.dbspin.com/technolotics
    (with no forward slash at the end)

    and the wordpress link to your wp folder…
    in this case https://dbspin.com/wordpress
    (again with no foward slash)

    Now the comments and permalink should work, but the link at the top of your blog will be broken.. (as it leads back to a folder without a foward slash, which by default will throw up a 301 error in apache).

    To fix this manually edit the header.php file of your wordpress theme, so that the header link

    <h1>“><?php
    bloginfo(‘name’); ?>
    /h1>

    is replaced with an absolute link to the index.php
    file…
    in this case <h1>Technolotics</h1>

    It’s a hack, but it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments and Permalink don’t work’ is closed to new replies.