Færdiggjort

NGINX / Linux Configuration

I am in the process of migrating an old website built in custom PHP into WordPress. The website has ~450,000 pages on it. I believe I have nearly 100% of the content migrated into WordPress.

However, for the sake of preserving SEO value, getting page load time to be reasonable, etc … I help with some NGINX configuration.

I can give SSH access via pem/ppk.

Configuration task:

Creating 301 redirects. The URL structure of the old site is massively incompatible with WordPress. The site has spaces all over the URLs (so ‘+’ when URL encoded). Additionally, there are tons of characters in the old URLs that WordPress will not support. I found all of these characters in various URLs: ß, é, è, ê, ˜e, ë, ñ, ž, ü, †, á, å, à, ä, â,ã, í, ï, î, ç, ç, š, ý, ú, ù, ø, õ, ð, ó, ö, œ, æ, —, £, €, ¥, ™, ©, º, ², ³, », ƒ, ¡, ¿, ‡, ¢, ¬, „, ‘, ¦, “, ”, ‚, ‰, ˆ

I changed the structure of the URLs during the migration to play nicely with WordPress permalinks. Now…I need 301 redirects so that old URLs will be 301-redirected to the appropriate page in WP.

I stripped the garbage out of the URLs in the WP conversion, but now I need NGINX to properly redirect to the appropriate URL. In order to do that, I think this requires writing a simple Perl subroutine to process incoming URLs, strip/substitute characters, and then 301 redirect to the appropriate URL. Or...if the appropriate WordPress-compliant URL is requested from the server, just have NGINX return it.

A young man from Ghana that I found on Fiverr looked at this. However, he failed to get it to work as needed. The Ghanaian young man has already recompiled NGINX to include [login to view URL] on my server. He wrote a Perl sub (which is not yet doing what I need it to do). Therefore, this may be very simple work for you to fulfill – or you may have to start from scratch with a Perl script to transform URLs properly.

In terms of the exact URL migration, I did string manipulation in MariaDB to strip the junk out of the URLs (there are around 450,000 URLs) and transform them to be WordPress-compliant. As such, performing the exact logical equivalent of these transformations should enable NGINX to serve the proper page.

The exact transformation I'm using in MariaDB is this: LOWER(REGEXP_REPLACE(REGEXP_REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(url, '$', 's'), '@', 'a'), '\t', 't'), '\r', 'r'), ' & ', ' and '), ' ', '-'), '[^a-zA-Z0-9\-]', ''), '[-]+', '-'))

I simply need the exact same thing done when a URL comes into NGINX so that the old URLs are mapped to the new ones.

Given the MySQL/MariaDB syntax above, I think the exact logic of the NGINX rewrite needs to be as follows (going from innermost function call to outermost function call):

- replace all '$' with 's'

- replace all '@' with 'a'

- replace '\t' with 't'

- replace '\r' with 'r'

- replace ' & ' with ' and '

- replace ' ' with '-'

- regex replace '[^a-zA-Z0-9\-]' with '-'

- regex replace '[-]+' with '-' (i.e., if there are multiple dashes in a row, replace all with a single dash)

- replace all capital letters with lowercase - return a 301 redirect

A Perl script should be able to do this URL manipulation for NGINX and then NGINX can return a 301 redirect the to resultant URL.

Evner: Linux, Nginx, PHP, WordPress

Se mere: jrun linux configuration, darwin server linux configuration, need linux configuration install oscommerce, nginx include config, nginx no events section in configuration, nginx tutorial pdf, nginx sites-enabled, nginx config generator, nginx config file location ubuntu, nginx location, nginx tutorial point, linux curl login http post command line, iptv linux configuration, arch linux configuration, eclipse jboss linux configuration, gammu linux configuration, hp health dl380 linux configuration problems, joomla linux configuration, linux configuration dimdim, nginx cache configuration

Om arbejdsgiveren:
( 2 bedømmelser ) Austin, United States

Projekt ID: #19642769

Tildelt til:

himalr

Hi, I'm familiar with both nginx and nginx-perl module though I don't think we'll be needing that. Please reach me via chat if you are interested.

$100 USD på 1 dag
(4 bedømmelser)
3.0

17 freelancere byder i gennemsnit $223 på dette job

ethancoder1

Hi, There Thanks for reviewing my cover letter. I am Vikas 'Ethan' more than 6 years experienced in PHP / MYSQL / AJAX /JQUERY / JAVASCRIPT / CSS3 / HTML / HTML5 / WordPress / Woocommerce/ Joomla / CODEIGNITER / LARAVE Flere

$1100 USD in 20 dage
(167 bedømmelser)
6.8
bindmission

Hello Hope you are doing well. I have 7 years of experience in Linux. I am an expert on Ngnix. I can handle this project. Regards VishnuLal*

$150 USD på 1 dag
(121 bedømmelser)
6.0
rvtechsolution

Hi I have a strong hands on Wordpress Plugin development, front-end, back-end and theme customization with SEO knowledge and ready to migrating an old website built in custom PHP into WordPress having 450,000 page Flere

$555 USD in 10 dage
(50 bedømmelser)
5.4
chiragdosi

Hi, I am a Red Hat Certified Linux Engineer with more than 7 years of experience. I will help you with NGINX/Linux configuration. Please start the conversation once to have faith on my skills. Thanks!!

$150 USD på 1 dag
(33 bedømmelser)
5.0
StevenKK

Hi, Greeting From Hardknock Digital . I have Gone through your Project Description . We are Team of Web developers & Graphics Designers . We are One of the leading Digital Marketing company in Our local city . We can C Flere

$200 USD in 8 dage
(1 bedømmelse)
3.2
rdmrla

Hello. My name is Ravi Damarla and I'm a senior developer located in India. I have more than 15 years of working with Perl on various platforms (Linux and Windows). I have also worked with Apache, Nginx and WordPress Flere

$200 USD in 3 dage
(7 bedømmelser)
2.9
samwebconsultant

Hello, Greetings!! We gone through project description i have clearly understand your requirement you can give SSH access via pem/ppk. I am start imitatively I have all the skills that you’re looking for. I hav Flere

$200 USD in 3 dage
(8 bedømmelser)
3.2
herradi

Hi Sir I am freelancer I have more than 7 years experience in IT: ( Cisco/ Mikrotik/ apatche/ Microsoft win server :2003.2008.2012.2016 ...) ( linux: Centos/ ubuntu...). (Ms office. Pdf... ) I am available All week and Flere

$50 USD på 1 dag
(8 bedømmelser)
2.5
cooddooc

Hi!I'm very happy to have a chance of bidding your [login to view URL] can we talk?Please schedule a time? I am an excellent developer in this industry. If we work together, I will satisfy you fully. Please give me 10 minutes Flere

$140 USD in 7 dage
(5 bedømmelser)
2.5
NitinSharmabot

I 'm a Full-stack developer and Ethical Hacker Working +5 years in programming field. I love programming. My passion is to solve the programming issue. Technology Summary : ---Programming/Languages: PHP, Python, JavaSc Flere

$140 USD in 7 dage
(2 bedømmelser)
1.7
android2014213

i am hightly interested in your project. Can we have discussion to understand more ? I have 8 years of experience as a Linux System Administrator. I posses good knowledge of mail server like zimbra, sendmail, web se Flere

$77 USD in 2 dage
(5 bedømmelser)
2.3
$155 USD in 15 dage
(0 bedømmelser)
0.0
adelnn8

I will be happy to done it

$155 USD in 3 dage
(0 bedømmelser)
0.0
sonisanjay27

I have gone through your project requirement, I am DevOps engineer having 7+ years of experience in web. I am sure, can manage the word press and redirect parts. let me know if any concern.

$140 USD in 7 dage
(0 bedømmelser)
0.0
DZgeek

Dear Client, Greetings of the day! I am "Full Stack" developer having more than 5+ years of experience in designing & development. I have expertise in Html5, Css3, PHP, DB, Node, Angular.js, Mongo, Laravel, React, Flere

$150 USD in 30 dage
(0 bedømmelser)
0.0
lastranikos

# Stages that will be carried out to finalize the project - Analyze the current status of the project - Plan and document the steps to follow - Make a full backup - Execute the requested tasks - Test the task Flere

$133 USD in 10 dage
(0 bedømmelser)
0.0