Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • “go through a ton of work to back up the current site,”

    There’s your problem right there.

    In all seriousness though, yes $250 is a lot to fork out to test a plug-in but that aside you could fire up a base WP image in Docker and have a WP test install rolling inside of an hour.

    I would see if Divi would offer some kind of return policy for you in case it doesn’t work though choosing a theme or framework based on a single free open source plugin is probably the wrong approach, after all it is easier to replace a plugin than a theme.

    • This reply was modified 8 years, 5 months ago by gunnerman1.
    Thread Starter gunnerman1

    (@gunnerman1)

    Thanks to this answer on Stack Overflow which is just about exactly the question I have, I was able to learn a lot about redirecting.

    There is also this route to follow WP Codex example: Using Custom Templates with custom querystring example.

    I could then query the information from a custom post type based on the query string provided.

    Thoughts/opinions?

    Thanks

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    I resolved the problem (in part). After a bit of digging I found the db entry rewrite_rules was missing in the options table. Whenever I copied this db to my local install this table entry would be created by WordPress on the first page load.

    The server does not seem to create this entry no matter what I try. I manually added the entry into the server db from my locally created entry and now all of the links/redirects work properly. I know this is a serialized entry and not sure what implications that may have…

    Unfortunately I fear the underlying problem still exists since WordPress still will not update htaccess files etc. Though at this point I have spent far too much time on this issue and since it is working ‘good enough’ for now I will need to let it be for a while.

    Thanks for all of the help. Very much appreciated.

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    Thats what I thought but I tried to have WordPress recreate the .htaccess file by deleting its contents and flushing the rules as per the instructions but it never recreates it; have to do it manually. Changing the permalink structure also does not make any changes to the .htaccess file.

    I will try and remove the redirect plugin and see where I get.

    Thanks

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    I hit save settings on the permalinks settings page each time. Running PHP 5.6 on both. Do you know where the rewrite rules are stored in the database? We are having a similar problem with a page directing to WooCommerce shop even after it has been unset. Wondering if something got jiggered in the db.

    Also when I set permalinks to plain, all works well.

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    Bit of an update. I copied my server db and themes folder to my local version to ensure all of the same files existed. The local version still worked. Then I copied the plugins folder from the server to local so all plugins matched. This broke the local links.

    Disabling all plugins one by one until none were activated did not fix the problem but deleting the actual plugin files did. I found when I use my local version of the ivycat-ajax-testimonials plugin everything works. When I use the server version it does not.

    I deleted the server version of the plugin and uploaded my local version, still broken on the server. Removed all cache headers in .htaccess, used incognito mode, etc.

    I am about out of hair to pull out 🙁

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    Disabled the plugin did not fix it.

    When I change ‘rewrite’ => TRUE to ‘rewrite’ =>array(‘slug’ => ‘testimonials’, ‘with_front’ => FALSE) it updates all of the permalinks for the testimonials page from /blog/testimonials/%postname% to /testimonials/%postname%/ in all of the posts but WordPress still requires the old .blog/testimonial/%postname% structure.

    Forum: Fixing WordPress
    In reply to: Using Redirect API
    Thread Starter gunnerman1

    (@gunnerman1)

    Thanks for the replies.

    No, there is no provided setting in permalink section.

    To answer Eric’s questions:

    1. There are different plugins but any plugin that is activated on the server is also active locally. The local server has a couple more active plugins such as CM Tooltip Glossary, Interactive World Maps, Multipurpose Sliders, etc. Both are using the same theme.

    2. Functions file is identical in both places. Our local version has a few utility functions but they are not registered or used anywhere.

    3. Not entirely certain what you are asking but I don’t believe so. We want all of our blog posts to be at /blog/%postname%, all of our pages at top level, and our testimonials at /testimonials/%postname%. We never use testimonials in any of the slugs or names.

    4. We have the standard version of Yoast SEO installed which I don’t believe offers any rewriting functionality.

    5. We use the Quick Redirects plugin since we recently changed our permalink structure from /%postname%/ to /blog/%postname%/ we wanted to make sure we had the 301 set up for any straggling links in blogs we missed etc.

    6. .htaccess on local site is default WordPress

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    The server side has some Cache Control entries but the problem persists even when they are removed.

    Thanks

    gunnerman1

    (@gunnerman1)

    We have the same issue. All of out posts are http://www.mydomain.com/post-name/ and we want http://www.mydomain.com/blog/post-name etc. We have many many blog posts so it seems we need to now add a db query to check if http://www.mydomain/somepagename is a blog post for every single url query on our website. Talk about blowing up the db use.

    Our SEO guy says it is better to have a more hierarchical structure for the links. I wish WP had better link structure options.

    Thread Starter gunnerman1

    (@gunnerman1)

    Doh trying to put a div inside p!

    Thread Starter gunnerman1

    (@gunnerman1)

    Thanks will check it out. I currently use widget logic and it is great was just looking to see how I might eek out a bit more performance.

Viewing 12 replies - 1 through 12 (of 12 total)