Wordpress and NGINX [Slightly OT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I hope someone can give me an idea on how to get this setup. I'm no WP expert (never having setup it up prior to a few weeks ago), but this issue I'd like to find a way to make work.

As I said, we have WP running on an NGINX server which is replacing an old Joomla server.  The issue has to do with the fact there were several static PHP pages built over the years on the Joomla server that we don't want to move manually to the WP server.  

The problem is that our Marketing used a lot of these standalone .php files in ads and such and want those urls to work by redirecting either to the home page or to specific pages inside WP.  (The latter is not a must have.)

The problem is that I can't figure out a way to have NGINX test for a particular .php file and if it's not there, redirect to (or display) a 404 page inside wordpress.  In every case, when NGINX tries to find that .php file it throws up the NGINX 404 page.  

I can build a custom 404 page, but Marketing wants to use the page inside WP.  There are several configs floating around that appear to solve the problem, but none of them work for me.  I've been told this is possible, but I've not found the answer if its out there.  Someone got any ideas?

I've attached my config file if that will help.


--

Mark Haney ::: Senior Systems Engineer

VIF International Education
P.O. Box 3566 ::: Chapel Hill, N.C. 27515 ::: USA
919-265-5006 office

Global learning for all.
www.vifprogram.com
Find VIF on Facebook | Twitter | LinkedIn

Recognized as a ‘Best for the World’ B Corp!

Attachment: wptest
Description: Binary data

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux