809

modx revo friendly urls

Question:

Just started to use MODX Revo. When I make new document in MODX(Revo), fill its alias (for example '<strong>TESTALIAS</strong>') and trying to get <strong>mydomain/TESTALIAS</strong> I'm receiving mistake <strong>404</strong>.

Using nginx and php-fpm, FURLs are ON in <strong>.htaccess</strong>

So what am I doing wrong? Thank you very much

Answer1:

If you have built the site, browsed around a bit and THEN turned on furls, clear your modx cache. [actually delete all the files] Also make sure that not only furls are enabled in modx but that:

Use Friendly Alias Path = on

Check for Duplicate URIs Across All Contexts = on

Automatically generate alias = on [not necessary, just handy]

Are you getting the modx 404 error page or the apache 404?

But it sounds like you have not enabled furls in modx system->settings->freindly urls

Answer2:

The only thing that disturbs me is NGINX & .htaccess... htaccess is meant to be used with Apache web server. I guess having a look at <a href="http://rtfm.modx.com/display/revolution20/Nginx+Server+Config" rel="nofollow">http://rtfm.modx.com/display/revolution20/Nginx+Server+Config</a> might be of any use :)

Hope that'll help.

Answer3:

Remember

Options +FollowSymlinks RewriteEngine On RewriteBase /

Or

Options +FollowSymlinks RewriteEngine On RewriteBase /your-path-from/

I've had no problems with friendly URLs in any of my...50 modx-pages over the years.

Recommend

  • Set TinyMCE to output HTML not XHTML
  • How to Launch a PDF from a Chrome Packaged App?
  • Unable to write data on hive using spark
  • Is there a polyfill for link download with data uri?
  • How to add external JavaScript or CSS files to our Tridion page?
  • When is “javascript: …” needed?
  • How to map strings to URIs?
  • javascript regex - global replace issue
  • Getting the Absolute File Path from Content URI for searched images
  • Using XML prefixes/namespaces to create an Xpath
  • Unable to send email with attachments from my app using intents (Gmail)
  • How to open a resource file in a WAR using a string pathname?
  • So which is faster truly? Flash, Silverlight or Animated gifs?
  • Saving file from JavaScript string without hitting server
  • Cannot open include file: 'cpprest/http_client.h'
  • How to get the revision of an item with Dropbox API
  • Object Browser can't browse my own solution?
  • Is it possible to send skype chat messages from a linux server without X?
  • Iterate twice through a DataReader
  • Using HTML/CSS for UI in XNA?
  • You tube videos are not playing
  • HttpClient: disabling chunked encoding
  • Clear fused location provider's location for testing
  • android.support.v7.widget.Toolbar VectorDrawableCompat IllegalStateException when using support lib
  • Assign variable to the value in HTML
  • How to use carriage return with multiple line?
  • Allowing both email and username for authentication
  • Get one-time binding to work for ng-if
  • Adding a button at the bottom of a table view
  • Getting last autonumber in access
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Perl system calls when running as another user using sudo
  • How do you troubleshoot character encoding problems?
  • Delete MySQLi record without showing the id in the URL
  • GridView Sorting works once only
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • How do I rollback to a specific git commit
  • Is there a mandatory requirement to switch app.yaml?
  • Django query for large number of relationships
  • Busy indicator not showing up in wpf window [duplicate]