Jump to content

Archived

This topic is now archived and is closed to further replies.

Oxide

Custom Permalinks Break My Site

Recommended Posts

Oxide    0
Oxide

When I change the permalinks structure to a custom structure (pages) it breaks my site. I've read other posts about how the CSS doesn't work if the permissions aren't set correctly on the server, but I'm not sure which files need increased permissions. I would rather not use 777 if I don't have to. I have attached a screenshot of what it looks like when it breaks. 

 

Things I've tried:

 

Updating permissions on .htaccess to 755

Deleting .htaccess altogether

Tried adding the following to wp-config: define( 'PL_NO_DYNAMIC_URL', true ); as suggested by http://forum.pagelines.com/topic/27761-pagelines-loading-only-when-default-permalinks-setting-is-active/?hl=permalinks.

Live-chatted with my hosting service - they were no help.

Tried this too: http://forum.pagelines.com/topic/21053-permalinks-affecting-the-pagelines-layout/?hl=permalinks

 

I'm new to web development, so forgive me if the answer is painfully obvious.

 

Help?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI,

 

Can you provide a link to your website and also enable Pl Debug mode please. DMS Toolbar > Global Options > Advanced.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Oxide    0
Oxide

Yeah, it's komodoink.com.

 

I had to revert to default permalinks to get pagelines to work so I could enable debug mode, but I changed it back so you can see the error.

 

I'm also getting the following message at the top of my wordpress dashboard: "It appears your WordPress install can't write to your servers file system. This may adversely affect your sites performance. Check with your host about resolving this issue. To hide these notices, visit PageLines options panel."

Share this post


Link to post
Share on other sites
Oxide    0
Oxide

Okay, I just realized I'm an idiot. I entered the custom permalink wrong. It's working now.

 

However, do I need to worry about this message?:  "It appears your WordPress install can't write to your servers file system. This may adversely affect your sites performance. Check with your host about resolving this issue. To hide these notices, visit PageLines options panel."

Share this post


Link to post
Share on other sites
Oxide    0
Oxide

I spoke too soon. It's not actually working. My subpages are working ex: komodoink.com/visual-madness/comics, but my main page is broken: komodoink.com.

 

The permalink structure i'm using is /%postname%

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

Ya sounds like you're on some economy hosting? 

 

If WP can't write files to your server its hard for DMS to optimize its performance.

 

Check with your host about allowing WP to write files, that is the standard hosting configuration that DMS was designed for.... 

Share this post


Link to post
Share on other sites
Oxide    0
Oxide

So which files need access? And do they need full 777 access, or will 755 work?

Share this post


Link to post
Share on other sites
Oxide    0
Oxide

Also, I use Hostgator. Is this a common experience with them?

Share this post


Link to post
Share on other sites
Rob    547
Rob

Inexpensive hosts don't usually provide the resources, ownership and permissions needed to make WordPress sites work correctly.  The memory resources, for example, are shared with dozens, if not hundreds of other sites, so often WP sites break on such hosts.

 

DMS' requirements are here: http://docs.pagelines.com/getting-started/system-requirements

 

As for 777, I'd recommend setting .htaccess to 777 temporarily, to make your permalink changes, then revert it back to 755.

 

You may want to look for a new host, with at least a decent VPS account and sufficient memory and other resources for WP.  There are also a number of excellent hosts that specialize in WP hosting.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • kri8it
      By kri8it
      Hi,
      I seem to be having a problem with my pages being detected as 'type' -> 'blog' when I use a custom permalink structure ( /%category%/%postname%/ ).
      However, when I switch to the default wordpress permalink structure, the pages work fine and show up as 'type' -> 'page'.
      I've used DMS on a lot of sites and this is the first time I've experienced this. I have deactivated all plugins, removed all custom code and the problem still persists. 
      Any help would be amazing...
    • superhumains
      By superhumains
      hello,
       
      I'm a dms pro user but i can't post in the appropriate forum !!
       
      Whatever the article on which you click, it takes on the same article.    The URL that appears correct but not Article! So we can not see the good post.    I checked the HTACCESS. I revalidate permalinks settings.    But I still have the same problem:    www.superhumains.com
    • jakenielson
      By jakenielson
      Hi,
       
      I'm having an issue that may have to do with permalinks but I'm not certain. Ever since I upgraded to the new DMS version, whenever I access certain pages on my site when not logged into the site as an administrator, the correct URL shows in the address bar but the incorrect post content is shown on the page.
       
      However, when I'm logged in as an administrator and when the DMS pagelines editor is on, I always get the correct post with the correct URL.
       
      Below is my debug information:
      DMS Debug Info WordPress Version
      3.8.1
      WordPress Debug
      Disabled
      Multisite Enabled
      No
      Current Role
      Administrator
      Framework Path
      /home/content/p3nexnas03/34/2066234/html/wp-content/themes/dms
      Framework URI
      http://theinnovativemanager.com/wp-content/themes/dms
      Framework Version
      1.1.7
      PHP Version
      5.4
      PHP memory
      256
      Mysql version
      5.5.33-log
      PHP type
      Cgi-fcgi
      PHP User
      Posix functions are disabled on this host!
      OS
      Linux
      Licence OK
      Jakenielson@gmail.com
      Installed Plugins
      advanced-iframe/advanced-iframe.php
      aweber-web-form-widget/aweber.php
      custom-sidebars/customsidebars.php
      dms-plugin-pro/dms-plugin-pro.php
      download-manager/download-manager.php
      feedburner-plugin/fdfeedburner.php
      hybridconnect/hybridconnect.php
      jetpack/jetpack.php
      jquery-smooth-scroll/jquery-smooth-scroll.php
      leadpages/leadpages.php
      outbrain/outbrain.php
      pagelines-sections/pagelines-sections.php
      social-sharing-toolkit/social_sharing_toolkit.php
      tinymce-advanced/tinymce-advanced.php
      ubermenu-megamenu-adapter/ubermenu-megamenu-adapter.php
      ubermenu/ubermenu.php
      updraftplus/updraftplus.php
      wordpress-seo/wp-seo.php
      youtube-embed-plus/youtube.php
    • gogeiger
      By gogeiger
      Hi,
       
      I originally had problem
       
      My site http://www.elitehvaccontractors.com/ not having a main blog page for blog ,
       
      I changed my permalink
       
      To custom /blog/%postname%/ and now I have a blog page http://www.elitehvaccontractors.com/blog/
       
      New problem developed
       
      My location page went from http://www.elitehvaccontractors.com/locations/hvac-contractors-collegeville-pa/
      To the following: http://www.elitehvaccontractors.com/blog/locations/hvac-contractors-collegeville-pa/
       
       
      I need help with the following:
      Keeping Blog main page for web site Change locations back to original and not have it follow blog file Goal:
      http://www.elitehvaccontractors.com/blog/
      http://www.elitehvaccontractors.com/Locations/
       
      NOTE:
      I use plug in Yoast WordPress SEO: Local SEO have contacted them and they say plug in is working and resulting because I put blog in custom permalink. They could not support any further advice.
      If I take blog out then my main blog page disappears.
        
       
      Thank you in advance for a solution,
      Tim Geiger
       
       
    • DCstyle
      By DCstyle
      i created a site and host it local
      but have been skipping all the settings for later. 
      Now my site contains 40 pages all with permalink settings on standard.
       
       
      now i try to change this to postname and all of the sudden my whole site structure is gone and everything is broke.
      When i turn it back on standard its all fine but it seems i gotta edit all 40 pages and all internal links to get it working again but thats not even the real issue.
       
      when i go to frontend with dms active it totaly turns into a mess. all css is gone and no link or page he is able to find.
       
      any solution or am i bound on doing everything over from scratch?
       
      [URL=http://imageshack.com/i/f64eoap][/URL]Uploaded with [URL=http://imageshack.com]ImageShack.com[/URL]
×